import org.springframework.stereotype.Service;

@Service(value = "MessageServiceImpl")
public class MessageServiceImpl implements MessageService{

    public MessageServiceImpl() {
        System.out.println("初始化");
    }

    public String getMessage() {
        return "hello world";
    }
}
